RTC(PCF8563) Test

Create Vivado Project

The PCF8563 is an RTC chip.

In the development board's schematic, the PCF8563, SHTC3, and E2PROM are all mounted on the same I2C bus, so you can directly use the Vivado project for the E2PROM.

Create Vitis Project

Similarly, in Vitis, click File-->new-->Appiacation Project:

image-20250811173551422

Similarly, select an empty .c project:

VeryCapture_20250618121953

Just add the .c file.

Compile and Debug

After the project is compiled successfully, connect the development board's JTAG to the computer using a Type-C USB cable, and use another Type-C USB cable to connect the board's PS UART to the computer.

On the computer, open the serial debugging tool MobaXterm and establish a connection with the development board's PS UART.

image-20250623160426306

Enter debug mode in Vitis: under Debug As, select the first option. Run at full speed to see the debugging information through the serial port.

The running result is as follows:

image-20250811181015443